home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
WarriorsProgress.sit
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Windows
/
WindowLocation.h
< prev
next >
Wrap
Text File
|
1997-06-28
|
620b
|
31 lines
// WindowLocation.h
#ifndef WindowLocation_h
#define WindowLocation_h
#ifndef Rectangle_h
#include "Rectangle.h"
#endif
class WindowLocation
{
private:
PointObject location;
PointObject stop;
bool finished;
public:
WindowLocation( Rectangle available, PointObject reasonableSize );
bool Finished() const { return finished; }
bool Unfinished() const { return !finished; }
void operator++();
void operator++(int) { operator++(); }
const PointObject& operator*() const { return location; }
const PointObject *operator->() const { return &location; }
};
#endif